package com.pzl.mapper;

import com.pzl.entity.Role;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * RoleMapper class
 *
 * @Author panzhenglei
 * @Date 2019/6/8 11:38 AM
 */
public interface RoleMapper {

    public List<Role> findAll();

//    public Long save(@Param("roleName") String roleName, @Param("roleDesc") String roleDesc);

    public Long save(Role role);

    public List<Role> findByIds(@Param("Ids") Long[] roleIds);

//
//    public Long selectId() throws Exception;
//
//    public List<Role> selectRid(User user) throws Exception;

}
